{{if !empty($nav_data) and is_array($nav_data)}}
    <ul class="am-nav am-nav-pills table-nav second-nav">
        {{foreach $nav_data as $v}}
            <li {{if $nav_type eq $v['type']}}class="am-active"{{/if}} data-type="{{$v.type}}">
                <a href="{{:MyUrl('admin/appconfig/index', ['type'=>$v['type']])}}">{{$v.name}}</a>
            </li>
        {{/foreach}}
    </ul>
{{/if}}